<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        let obj = {
            0: "simba",
            1: 'ace',
            2: 'roger',
            length: 3,
        }

        for (let i = 0; i < obj.length; i++) {
            console.log(obj[i]);
        }

        //hello world . i like javascript.   得到每个字符出现的次数，及出现最多的字符




        //将  xxx.html?a=1&b=2&c=3  变成{a:1,b:2,c:3}的对象

    </script>
</body>

</html>